//
//  WFCurrencySelectCell.h
//  WeiFang
//
//  Created by WeiFang on 2022.
//  Copyright © 2022年 WeiFang. All rights reserved.
//

#import "BaseTableViewCell.h"

@class WFCurrencySelectCell;
@class WFCurrencySelectCellModel;

@protocol WFCurrencySelectCellDelegate <NSObject>

- (void)currencySelectCell:(WFCurrencySelectCell *)cell button:(UIButton *)sender;

@end

@interface WFCurrencySelectCell : BaseTableViewCell

@property (nonatomic,weak) id<WFCurrencySelectCellDelegate> delegate;
@property (weak, nonatomic) IBOutlet UIView *myView;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewTop;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *viewBottom;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *lineLabel;
@property (strong, nonatomic) WFCurrencySelectCellModel *model;

@end



#pragma mark - Model

@interface WFCurrencySelectCellModel : NSObject

@property (nonatomic,copy) NSString *title;

+ (WFCurrencySelectCellModel *)ittemModelWithTitle:(NSString *)title;

@end



